package com.body.park.user.controller;

import com.body.park.common.response.ResponseEntity;
import com.body.park.user.client.UserService;
import com.body.park.user.client.model.UserResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author chaoxian.wu
 * @DATE 2022/5/1 23:51
 */
@RestController
public class LoginController {

    @Autowired
    private UserService userService;

    @PostMapping("/login")
    public ResponseEntity login(@RequestBody UserResult userResult) {
        return ResponseEntity.ok();
    }
}
